#ifndef _CRT_STDTIME_H_
#define _CRT_STDTIME_H_

#include <crt_define.h>
#include <crt_error.h>

#ifdef	__cplusplus
extern "C" 
{
#endif

#if (TARGET_OS == OS_WINDOWS)
	 int _gettimeofday(struct timeval * tp, struct timezone * tzp);
#endif

#if (TARGET_OS != OS_WINDOWS)
unsigned long GetTickCount(void);
#endif


 struct tm * _localtime_t(const time_t *timep, struct tm *result);

 int get_time_t(char* tm, unsigned long len);

#ifdef	__cplusplus
}
#endif

#endif

